package com.gxgy.service;

import java.util.List;

import org.springframework.ui.Model;

import com.gxgy.entity.User;

public interface UserService {
	
	Integer addOneUser(String name,String username,String sex,String password,String status,String createTime,Model model);
	
	Integer deleteUserById(String id);
	
	User queryUserByUserName(String username);

	User queryUserById(String id);
	
	List<User> queryAllUser();
	
	Integer updateUser(String id,String name,String username,String sex,String password,String status,String createTime,Model model);

}
